/*    */ package com.cr.business.service.impl;
/*    */ 
/*    */ import com.cr.business.domain.CrAboutUs;
/*    */ import com.cr.business.mapper.CrAboutUsMapper;
/*    */ import com.cr.business.service.ICrAboutUsService;
/*    */ import com.cr.common.core.text.Convert;
/*    */ import com.cr.common.utils.MyDateUtils;
/*    */ import java.util.List;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service
/*    */ public class CrAboutUsServiceImpl implements ICrAboutUsService {
/*    */   @Autowired
/*    */   private CrAboutUsMapper crAboutUsMapper;
/*    */   
/*    */   public CrAboutUs selectCrAboutUsByBriefId(Long briefId) {
/* 33 */     return this.crAboutUsMapper.selectCrAboutUsByBriefId(briefId);
/*    */   }
/*    */   
/*    */   public List<CrAboutUs> selectCrAboutUsList(CrAboutUs crAboutUs) {
/* 45 */     return this.crAboutUsMapper.selectCrAboutUsList(crAboutUs);
/*    */   }
/*    */   
/*    */   public int insertCrAboutUs(CrAboutUs crAboutUs) {
/* 57 */     crAboutUs.setCreateTime(MyDateUtils.getNowDate());
/* 58 */     return this.crAboutUsMapper.insertCrAboutUs(crAboutUs);
/*    */   }
/*    */   
/*    */   public int updateCrAboutUs(CrAboutUs crAboutUs) {
/* 70 */     crAboutUs.setUpdateTime(MyDateUtils.getNowDate());
/* 71 */     return this.crAboutUsMapper.updateCrAboutUs(crAboutUs);
/*    */   }
/*    */   
/*    */   public int deleteCrAboutUsByBriefIds(String briefIds) {
/* 83 */     return this.crAboutUsMapper.deleteCrAboutUsByBriefIds(Convert.toStrArray(briefIds));
/*    */   }
/*    */   
/*    */   public int deleteCrAboutUsByBriefId(Long briefId) {
/* 95 */     return this.crAboutUsMapper.deleteCrAboutUsByBriefId(briefId);
/*    */   }
/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-business-4.7.0.jar!\com\cr\business\service\impl\CrAboutUsServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */